package com.ruoyi.project.report.server.impl;

import com.ruoyi.project.domain.ReportTest;
import com.ruoyi.project.report.mapper.ReportTestMapper;
import com.ruoyi.project.report.server.IReportTestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * 测试Service业务层处理
 *
 * @author ruoyi
 * @date 2024-07-04
 */
@Service
public class ReportTestServiceImpl implements IReportTestService {

    @Resource
    private ReportTestMapper reportTestMapper;

    /**
     * 查询测试列表
     *
     * @return 测试
     */
    @Override
    public List<ReportTest> selectReportTestList() {
        List<ReportTest> list = reportTestMapper.selectList();
//        // 尝试给第一列加上其他名， 表头保留
//        ReportTest reportTest = new ReportTest();
//        reportTest.setTestInfo("给个别名");
//        list.add(0, reportTest);
        return list;
    }
}
